﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public class Sach
    {
        int maSach;
        public int MaSach
        {
            get { return maSach; }
            set { maSach = value; }
        }
        String tenSach;

        public String TenSach
        {
            get { return tenSach; }
            set { tenSach = value; }
        }
        int maTheLoai;
        public int MaTheLoai
        {
            get { return maTheLoai; }
            set { maTheLoai = value; }
        }
        int maTacGia;
        public int MaTacGia
        {
            get { return maTacGia; }
            set { maTacGia = value; }
        }
        double donGia;
        public double DonGia
        {
            get { return donGia; }
            set { donGia = value; }
        }
        int soLuongTon;
        public int SoLuongTon
        {
            get { return soLuongTon; }
            set { soLuongTon = value; }
        }

        public Sach(){}
        public Sach(int maSach, String tenSach, int maTheLoai, int maTacGia, double donGia, int soLuongTon){
            this.maSach = maSach;
            this.tenSach = tenSach;
            this.maTheLoai = maTheLoai;
            this.maTacGia = maTacGia;
            this.donGia = donGia;
            this.soLuongTon = soLuongTon;
        }
    }
}
